﻿using JHErp.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace JHErp
{
    public partial class frmList : Form
    {
        public frmList()
        {
            InitializeComponent();
        }

        private void frmList_Load(object sender, EventArgs e)
        {
            using (var db = new ERPContext())
            {
                this.bindingSource1.DataSource = db.TaobaoOrders.ToList();
                this.dataGridView1.DataSource = this.bindingSource1;
            }
        }
    }
}
